package com.bayihouse.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.bayihouse.excel.converter.MyDateConverter;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
public class ExcelRoom implements Serializable {


    private static final long serialVersionUID = -5897034848728177081L;

    private String hashCode;

    @ExcelProperty(value = "房东信息")
    private String landlord;


    @ExcelProperty(value = "身份证号")
    private String identity;


    @ExcelProperty(value = "房屋详细地址")
    private String address;


    @ExcelProperty(value = "房东电话")
    private String telephone;

    @ExcelProperty(value = "产权证号")
    private String certNumber;


    @ExcelProperty(value = "租停状态")
    private String rentStatus;


    /**
     * 房子的类型,是否用于租房
     */
    @ExcelProperty(value = "房屋类型")
    private Integer category;


    @ExcelProperty(value = "出租用途")
    private String rentChannel;


    @ExcelProperty(value = "启租时间", converter = MyDateConverter.class)
    private Date rentTime;


    @ExcelProperty(value = "协管人员")
    private String mannagerName;

    /**
     * 备注-房子的信息
     */
    @ExcelProperty(value = "房屋备注")
    private String detail;

    @ExcelProperty(value = "区县")
    private String district;

    @ExcelProperty(value = "街道")
    private String street;

    @ExcelProperty(value = "社区")
    private String community;



}
